package org.kessy.common.param;

import java.io.Serializable;

import org.kessy.common.model.meta.MBase;

/***
 * 
 * @author leo.liu
 * as an input parameter, including query object, query condition to query meta Object
 */
public class MetaQueryParam implements Serializable{

    /**
     * 
     */
    private static final long serialVersionUID = -3223992349380295053L;

    @Deprecated
    private Class<MBase> clazz;
    private String hql;
    private String assembleString;
    private boolean isPaged;
    private int firstResult;
    private int maxResults;
    
    @Deprecated
    public Class<MBase> getClazz() {
        return clazz;
    }
    
    @Deprecated
    public void setClazz(Class<MBase> clazz) {
        this.clazz = clazz;
    }
    
    public String getHql() {
        return hql;
    }
    
    public void setHql(String hql) {
        this.hql = hql;
    }
    
    public String getAssembleString() {
        return assembleString;
    }
    
    public void setAssembleString(String assembleString) {
        this.assembleString = assembleString;
    }
    
    public boolean isPaged() {
        return isPaged;
    }
    
    public void setPaged(boolean isPaged) {
        this.isPaged = isPaged;
    }
    
    public int getFirstResult() {
        return firstResult;
    }
    
    public void setFirstResult(int firstResult) {
        this.firstResult = firstResult;
    }
    
    public int getMaxResults() {
        return maxResults;
    }
    
    public void setMaxResults(int maxResults) {
        this.maxResults = maxResults;
    }
    
    
}
